package com.polaris.live.ui.party.listener

import com.polaris.live.im.sfs.bean.live.SendLiveCloseMessage
import com.polaris.live.resp.back_resp.DisplayUserBean

/**
 * 对观众fragment回调
 * @author Created by 天晴 on 2024/2/24 11:20
 * @since 1.0.0
 **/
interface OnSpectatorFragmentListener {

    fun closeActivity(closeMessage: SendLiveCloseMessage? = null)

    /**
     * 切换下一个直播间
     */
    fun nextData(displayUserBean: DisplayUserBean)

    /**
     * 禁止滑动
     */
    fun prohibitSliding(sliding: Boolean, showTips: Boolean)

    /**
     * 游戲模式
     */
    fun gameMode(mode: Boolean) {

    }

    /**
     * 输入了进房密码
     */
    fun enterRoomPassword(pws: String)

    /**
     * 轮播图禁止滑动
     */
    fun onBannerTouch(openTouch: Boolean)

    /**
     * 设置了最小化
     */
    fun onMinimize(minimize: Boolean)
}